package com.xb.services;
import com.xb.domain.User;
import com.xb.domain.UserExample;

import java.util.List;
/**
 * @author zch
 */
public interface UserService {
	long countByExample(UserExample example);
	int deleteByExample(UserExample example);
	int deleteByPrimaryKey(String host, String user);
	int insert(User record);
	int insertOrUpdate(User record);
	int insertOrUpdateSelective(User record);
	int insertSelective(User record);
	int updateByExampleSelective(User record, UserExample example);
	int updateByExample(User record, UserExample example);
	int updateByPrimaryKeySelective(User record);
	int updateByPrimaryKey(User record);
	int updateBatch(List<User> list);
	int batchInsert(List<User> list);
	List<User> selectByExample(UserExample example);
	User selectByPrimaryKey(String host, String user);
	List<User> selectAllUserList();
}
